﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MAPDavy.Entities;

namespace MAPDavy.Repository
{
    public class SubjectRepository:MasterRepository,ISubjectRepository 
    {
        public List<Subject> GetAllFromSubject()
        {
            var query = from s in Context.Subjects
                        select s;

            return query.ToList();  
        }
    }
}
